#ifndef REGISTRATION_H
#define REGISTRATION_H

#include <QWidget>
#include <frmkeyboard.h>
#include "usermanager.h"
#include "QDebug"
#include "QMessageBox"
#include "settings.h"

namespace Ui {
class Registration;
}

class Registration : public QWidget
{
    Q_OBJECT

public:
    explicit Registration(QWidget *parent = nullptr);
    ~Registration();

    frmKeyBoard *keyboard = new frmKeyBoard();
    bool isKeyBoardShow;
    //hide keyboard by keyboard's close button
    void hidekeyboard();

signals:
    void display(int number);
    void reset();

private slots:
    void on_keyboard_clicked();

    void on_confirm_clicked();

    void on_cancel_clicked();

private:
    Ui::Registration *ui;

    void initStyleSheet();
};

#endif // REGISTRATION_H
